<%@ page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8" trimDirectiveWhitespaces="true"%>
<!DOCTYPE html>
<html>
<head>
<title>日志详情</title>
<%@ include file="/WEB-INF/views/manager/include.inc.jsp"%>
</head>
<body>	
<!--top s-->
<c:import url="/public/header?tag=Config" />
<!--top end-->
<div class="m_main"> 
  <!--left s-->
  <c:import url="/public/left?tag=Config&tag1=LogInfo" />
  <!--left end-->
  <!--right s-->
  <div class="m_right fl">
    <div class="r_box">
	  <div class="title1"><h3>日志详情</h3></div>
	  <div class="listbox ovh">
	    <ul class="dept2 fmy">
		  <li>
            <div class="spant tr fl justify">名&nbsp;&nbsp;称：</div>
		    <div style="position:relative;">${logInfo.username }</div>
		  </li>
		  <li>
            <div class="spant tr fl justify">IP地址：</div>
		    <div style="position:relative;">${logInfo.ipAddress }</div>
		  </li>
          <li>
            <div class="spant tr fl justify">分&nbsp;&nbsp;类：</div>
            <div style="position:relative;">${logInfo.type }</div>
          </li>
          <li>
            <div class="spant tr fl justify">内&nbsp;&nbsp;容：</div>
            <div style="position:relative;"><textarea name="content" cols="" rows="" style="height: 40px;" class="textat" readonly>${logInfo.message }</textarea></div>
          </li>
          <c:if test="${not empty logInfo.url}">
          <li>
            <div class="spant tr fl justify">下&nbsp;&nbsp;载：</div>
            <div style="position:relative;"><a href="${contextPath }/file/download?url=${logInfo.url }">${logInfo.url }</a></div>
          </li>
          </c:if>
          <li>
            <div class="spant tr fl justify">时&nbsp;&nbsp;间：</div>
            <div style="position:relative;"><fmt:formatDate value="${logInfo.createTime }" pattern="yyyy-MM-dd HH:mm" /></div>
          </li>
	    </ul>
        <div class="tc">
          <input type="button" name="back" class="back_btn" value="返 回" onclick="history.go(-1)">
        </div>
	  </div>
	</div>
    <%--
    <div class="textbox ovh">
      <h5>${suggest.name }</h5>
      <p class="pa">
        <span>${suggest.email }&nbsp;</span>
        <span class="fr"><fmt:formatDate value="${suggest.createTime }" pattern="yyyy-MM-dd HH:mm" /></span>
      </p>
      <div class="pb">${suggest.content }</div>
      <div class="btn_box tc ovh">
        <button class="back_btn" onclick="history.go(-1)">返 回</button>
      </div>
    </div>
    --%>
  </div>
  <!--right end-->
</div>
<div class="foot"></div>
</body>
</html>